JFLAGS = -g
JC = javac
.SUFFIXES: .java .class
.java.class:
        $(JC) $(JFLAGS) $*.java

CLASSES = \
        Peer.java \
        CreateHashMap.java \
        DownloadingFiles.java \
        DownloadThread.java \
        FoundReceivedThread.java \
        QueryFactory.java \
        RequestRemainingChunks.java \
        SearchThread.java \
        SendThread.java
         

default: classes

classes: $(CLASSES:.java=.class)

clean:
        $(RM) *.class
